package com.city.service.pub.impl;

import com.city.domain.pub.PubEducationDegree;
import com.city.repository.pub.PubEducationDegreeRepository;
import com.city.service.pub.PubEducationDegreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation: 学历分类
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
@Service
public class PubEducationDegreeServiceImpl implements PubEducationDegreeService {

    @Autowired
    private PubEducationDegreeRepository educationDegreeRepository;

    @Override
    public List<PubEducationDegree> getAll() {
        return educationDegreeRepository.findAll();
    }
}
